home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
tex
/
stprt203.zip
/
STORYPRT.DOC
< prev
next >
Wrap
Text File
|
1994-03-02
|
20KB
|
469 lines
STORYPRT
A text file printer by
Matthew E. Bernold
INTRODUCTION:
─────────────
This program started out as a little project to help out my wife, and
it started as a very simple program. Since that first version, STORYPRT
has more than doubled in both size and functionality, and is a powerful
enough utility that I feel that someone else besides my wife and I might
actually find some use for it. That is basically what this release is
for anyway: to see if anyone else can use what I have written.
My wife collects stories on the net, from X-rated stories to Star Trek
parodies. One summer when we had near-unrestricted access to a couple of
printers, she decided to start printing these stories out. She did this by
using KEDIT and dumping the stories 60 lines per page. This was ok, but
she had to manually roll the paper ahead 3 lines to keep the pages centered.
There was also a major incident when one of the stories was dropped after the
pages had been ripped apart. We had one HELL of a time putting them back in
order. Thus, the first STORYPRT was born.
This first version was simple: Break up the story into 60 line packages,
put a page number on the page on line 2, and that's it. The version you have
now does much more than that, and it is still growing. If you find that you
wish STORYPRT could do something that it doesn't, let me know. You might find
that feature in the next release.
DISCLAIMER:
───────────
This program is provided "as-is". The author is not responsible for
any damage or loss of data this program causes. The only warranty provided
is that I've used it for a long time, on a variety of systems, and it has
never caused any damage on any of the systems that I use.
You are hereby granted the right to use this program for "a reasonable
trial period". I have absolutely no idea exactly what this is, so I'll say
somewhere around a month or so. At the end of this "trial period" you must
either register this software with the author, or die a horrible, suffering
death (i.e. Destroy STORYPRT, and be forced to live your life without it.)
Information on how to "register" is listed below.
This program was written in Turbo Pascal 7.0, c. Borland.
REGISTRATION:
─────────────
This program is hereby declared "storyware". If you find STORYPRT to
be useful, please send me a $5 registration fee. If you want automatic
upgrades for new major releases of STORYPRT, please send $10 registration.
This $10 registration fee includes shipping for ONE STORYPRT upgrade. If
you have an E-Mail address, I will E-Mail ALL new versions of STORYPRT as
they become available. (Even non-major upgrades)
For $15 or more, I will program new options into STORYPRT for you if you
want them. For $6,892,329,047 I will write a program to infiltrate all
known computer systems... :-) Ok...so maybe I got a bit carried away...
If you can't afford to register STORYPRT, don't stop using it if you need
it. I've been there too (In fact, I'm there now) so you can temporarily
'register' by sending me one or more of the following:
1) A picture postcard from your hometown telling me how much you
love STORYPRT. [Or maybe just that you use it. :-)]
2) An FTP/FSP/Mail archive that houses X-rated stories.
3) An FTP/FSP/Mail archive that houses Star Trek parodies.
4) Your favorite X-rated story.
5) Your favorite Star Trek parody.
You can reach me at:
Internet: MEB117@PSUVM.PSU.EDU
Bitnet: MEB117@PSUVM.BITNET
Snail Mail: Matthew E. Bernold
425 Waupelani Dr. Apt #221
State College, PA 16801
REQUIREMENTS:
─────────────
STORYPRT requires the following:
1) An IBM PC compatible with DOS 3.3 or better and 128K. I only say
these values to be safe. This program should work with any version
of DOS, and I have run it with 47K free memory. STORYPRT stores one
printed page in memory at a time, so the maximum memory STORYPRT
needs is based on the number of lines per page, and the number of
characters per line. The 47K figure is for the default 80 char/line
and 66 lines/page.
2) A printer capable of printing plain text files. If your printer
is on port xxx: and you can type "dir > xxx:" and get a printout
of the directory, then STORYPRT will work with your printer.
CONTENTS:
─────────
This package should contain the following files:
STORYPRT.EXE - Executable file.
STORYPRT.DOC - This document file.
DOCPRINT.BAT - Simple batch file to print the .DOC file.
U2D.EXE - Simple utility to convert Unix (LF) text
files to MS-DOS (CR/LF) text files.
If this package does not contain all of these files, it may NOT be
distributed. Please contact me at one of the addresses listed above to get a
full version.
DISTRIBUTION:
─────────────
STORYPRT may be freely distributed as long as all files listed above
are included in the package. No fee beyond a reasonable duplication fee may
be charged for STORYPRT. STORYPRT may not be distributed with any commercial
applications without the expressed written permission of the author. Please
contact me at the address listed above if you have any questions about
distribution rights.
INSTRUCTIONS:
─────────────
STORYPRT does the following things to your file:
1) Breaks the file up into pages (Default: 60 lines of text/page)
2) Puts a title and page number on line 2.
3) Makes sure that a page doesn't start with a blank line. If
it does, it deletes the blank line. This makes the printout
look much better.
4) Auto-wraps lines longer than 80 characters. STORYPRT will try
to split lines on spaces when possible, but it does not wrap
paragraphs correctly. This may be an option in future releases.
5) Allows you to set up your printer with setup/reset strings.
These strings are sent to the printer each time you print a file
with STORYPRT. They can be used to change printer font, set
letter quality print, reset your printer, and much more. See your
printer's manual for more information.
STORYPRT is fairly easy to use. If you just type the program name, you
will get the following simple help screen:
══════════
STORYPRT v2.00b, c. Feb 1994, Matthew E. Bernold Help Screen
Syntax is STORYPRT [options] filename.ext [options] <title>
Type 'STORYPRT -h' for more information.
══════════
Typing 'STORYPRT -h' or 'STORYPRT -?' will get you the following full
help screen:
══════════
STORYPRT v2.00b, c. Feb 1994, Matthew E. Bernold Help Screen
Syntax is STORYPRT [options] filename.ext [options] <title>
Options: -#n : Start page numbering at n.
-Bn : Start printing at Page n. -En : End Printing at Page n.
-H or -? : Shows this screen. -Cn : Sets n chars per line. Def:80
-Sn,n.. : Printer setup string. -Ln : Sets n lines per page. Def:66
-Rn,n.. : Printer reset string. -N : Skip NetNews header.
-Pn : Selects printer port. -Xf : Output to file f. No printing.
-M : Manual paper feed. -D : Double Spaced output.
-T : Title setup string. -U : Title reset string.
-I : Lists information on the contents of STORYPRT.CFG.
-W or -O : Brings up configuration menu. Does not print.
See STORYPRT.DOC for more information, and examples. If you did not get this
file, then your copy of STORYPRT is incomplete, and should not be distributed.
You can obtain a complete version of STORYPRT from me by writing to
MEB117@PSUVM.PSU.EDU or by US Mail:
Matthew E. Bernold Please include $5 shipping
425 Waupelani Driv